<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/8/20
  Time: 19:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>登陆</title>
  <link rel="stylesheet" href="plugins/bootstrap/bootstrap.min.css">
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
</head>
<body>
<div class="base-container container">
  <h3>用户登录</h3>
  <hr/>
  <form:form action="/Practice/sys/user/login" method="post" commandName="luser">
    <div class="form-group">
      <div class="form-inline">
        <label for="username" class="control-label col-md-3">用户名：</label>
        <input type="text" class="form-control col-md-4" id="username" name="username" placeholder="用户名">
        <label class="control-label" id="usernameLabel"></label>
      </div>
    </div>
    <div class="form-group">
      <div class="form-inline">
        <label for="password" class="control-label col-md-3">密码：</label>
        <input type="password" class="form-control col-md-4" id="password" name="password" placeholder="密码">
        <label class="control-label" id="passwordLabel"></label>
      </div>
    </div>
    <div class="form-group center-block">
      <button type="submit" class="btn btn-primary btn-success">登陆</button>
      <a href="register.jsp" type="button" class="btn btn-primary btn-danger">注册</a>
    </div>
  </form:form>
</div>

<script src="plugins/jquery/jquery.min.js"></script>
<script src="plugins/bootstrap/bootstrap.min.js"></script>
<script src="js/common.js"></script>
<script src="js/login.js"></script>
<link rel="stylesheet" href="css/base.css">
</body>
</html>
